function is_submit(value) {
    var form1 = document.getElementById("form1");
    if (value == 1) {
        form1.action = "/manager/SearchSupplier?type=allsupplier";
        form1.submit();
    }
    if (value == 2) {
        form1.action = "/manager/jsp/SearchByID.jsp";
        form1.submit();
    }
    if (value == 3) {
        form1.action = "/manager/jsp/SearchByName.jsp";
        form1.submit();
    }
    if (value == 4) {
        form1.action = "/manager/jsp/AddSupplier.jsp";
        form1.submit();
    }

}